Finding the unloaded geometry#

from fenics_plotly import plot
import pulse
geometry = pulse.HeartGeometry.from_file(pulse.mesh_paths["simple_ellipsoid"])
# geometry = pulse.geometries.prolate_ellipsoid_geometry(mesh_size_factor=3.0)
material = pulse.NeoHookean()
# material = pulse.Guccione()
2023-10-28 16:10:08,723 [623] INFO     pulse.geometry_utils: 
Load mesh from h5
# Parameter for the cardiac boundary conditions
bcs_parameters = pulse.MechanicsProblem.default_bcs_parameters()
bcs_parameters["base_spring"] = 1.0
bcs_parameters["base_bc"] = "fix_x"
# Create the problem
problem = pulse.MechanicsProblem(geometry, material, bcs_parameters=bcs_parameters)
# Suppose geometry is loaded with a pressure of 1 kPa
# and create the unloader
unloader = pulse.FixedPointUnloader(problem=problem, pressure=3.0)
2023-10-28 16:10:08,967 [623] INFO     pulse.unloader: 

-------------------------- Unloading options ---------------------------

	Target pressure: 3.0
	maxiter = 10
	tolerance = 0.0001
	regenerate_fibers (serial only)= False

------------------------------------------------------------------------
# Unload the geometry
unloader.unload()
2023-10-28 16:10:08,977 [623] INFO     pulse.unloader: ------------------------------------------------------------------------
2023-10-28 16:10:08,979 [623] INFO     pulse.unloader: ----------------------------Start unloading-----------------------------
2023-10-28 16:10:08,980 [623] INFO     pulse.unloader: ------------------------------------------------------------------------
2023-10-28 16:10:09,027 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:10:09,028 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:10:09,029 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:10:09,030 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:10:09,295 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  1	full
2023-10-28 16:10:10,536 [623] INFO     pulse.unloader: 
LV Volume of original geometry = 0.749 ml
2023-10-28 16:10:10,587 [623] INFO     pulse.unloader: 
Do an intial solve
2023-10-28 16:10:10,717 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:10:10,718 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:10:10,719 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:10:10,720 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:10:10,721 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:10:11,488 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2023-10-28 16:10:11,603 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
2023-10-28 16:10:11,926 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2023-10-28 16:11:11,452 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:11,453 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:11,454 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:11,455 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:11,455 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:11,744 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2023-10-28 16:11:11,866 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-10-28 16:11:12,177 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-10-28 16:11:17,290 [623] INFO     pulse.unloader: 
Iteration: 0
2023-10-28 16:11:23,037 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-10-28 16:11:23,100 [623] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-10-28 16:11:29,791 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:11:29,797 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-10-28 16:11:29,863 [623] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-10-28 16:11:30,471 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:11:30,542 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:11:30,543 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:11:30,612 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:11:30,614 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:11:30,678 [623] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.568 ml
2023-10-28 16:11:30,936 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:30,937 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:30,939 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:30,940 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:30,942 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:11:31,389 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2023-10-28 16:11:31,506 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
2023-10-28 16:11:31,830 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2023-10-28 16:12:31,403 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:12:31,404 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:12:31,404 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:12:31,406 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:12:31,407 [623] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-28 16:12:31,616 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2023-10-28 16:12:31,729 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-10-28 16:12:32,029 [623] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-10-28 16:12:37,205 [623] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.568 ml
2023-10-28 16:12:37,484 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:37,486 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:37,555 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:37,557 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:37,625 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:37,627 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:37,690 [623] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.717 ml
2023-10-28 16:12:37,707 [623] INFO     pulse.unloader: 
Residual:	0.011328623428538194
2023-10-28 16:12:37,708 [623] INFO     pulse.unloader: 
Iteration: 1
2023-10-28 16:12:37,984 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:37,986 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:38,054 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:38,056 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:38,125 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:38,127 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:38,187 [623] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.596 ml
2023-10-28 16:12:42,624 [623] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.596 ml
2023-10-28 16:12:42,901 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:42,903 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:42,974 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:42,976 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:43,046 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:43,048 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:43,112 [623] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.754 ml
2023-10-28 16:12:43,129 [623] INFO     pulse.unloader: 
Residual:	0.001698010214540216
2023-10-28 16:12:43,130 [623] INFO     pulse.unloader: 
Iteration: 2
2023-10-28 16:12:43,407 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:43,409 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:43,478 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:43,480 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:43,547 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:43,549 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:43,612 [623] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.592 ml
2023-10-28 16:12:48,034 [623] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.592 ml
2023-10-28 16:12:48,310 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,313 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,390 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,392 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,466 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,469 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,536 [623] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.749 ml
2023-10-28 16:12:48,554 [623] INFO     pulse.unloader: 
Residual:	0.00025928769312986966
2023-10-28 16:12:48,555 [623] INFO     pulse.unloader: 
Iteration: 3
2023-10-28 16:12:48,834 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,837 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,904 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,906 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,975 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:48,977 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:49,038 [623] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.593 ml
2023-10-28 16:12:53,460 [623] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.593 ml
2023-10-28 16:12:53,738 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:53,739 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:53,815 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:53,817 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:53,889 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:53,890 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:53,953 [623] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.750 ml
2023-10-28 16:12:53,971 [623] INFO     pulse.unloader: 
Residual:	3.93130429591956e-05
2023-10-28 16:12:53,972 [623] INFO     pulse.unloader: ########################################################################
Unloading suceeding
# Get the unloaded geometry
unloaded_geometry = unloader.unloaded_geometry
2023-10-28 16:12:54,278 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:54,280 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:54,353 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:54,355 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:54,427 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-28 16:12:54,429 [623] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
fig = plot(geometry.mesh, opacity=0.0, show=False)
fig.add_plot(plot(unloaded_geometry.mesh, color="red", show=False))
fig.show()